<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>knet: E:/knet-git/knet/knet/timer_api.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">knet
   &#160;<span id="projectnumber">1.4.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>结构体</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>全局定义</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e74998c9a9305a116abc25fcf9a1edb.html">knet-git</a></li><li class="navelem"><a class="el" href="dir_a1c045b39f32066568ae964b52db514f.html">knet</a></li><li class="navelem"><a class="el" href="dir_f76d03789f0b12416cfffea59e2ed47d.html">knet</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">timer_api.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="a00104.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2014-2015, dennis wang</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * All rights reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions are met:</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *     * Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *       notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *     * Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *       notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *       documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#ifndef TIMER_API_H</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#define TIMER_API_H</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="a00056.html">config.h</a>&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keyword">extern</span> <a class="code" href="a00025.html">ktimer_loop_t</a>* <a class="code" href="a00122_gaef96e7c368db456236a2121e3d75c49c.html#gaef96e7c368db456236a2121e3d75c49c">ktimer_loop_create</a>(time_t freq, <span class="keywordtype">int</span> slot);</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="a00122_gad3dafe93f5b45424bd5983ef0c163687.html#gad3dafe93f5b45424bd5983ef0c163687">ktimer_loop_destroy</a>(<a class="code" href="a00025.html">ktimer_loop_t</a>* ktimer_loop);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00122_gaf195cf4006bced494e99242c36ad36c0.html#gaf195cf4006bced494e99242c36ad36c0">ktimer_loop_run_once</a>(<a class="code" href="a00025.html">ktimer_loop_t</a>* ktimer_loop);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="a00122_ga5e31b2fc26af005e97b09804c5a98099.html#ga5e31b2fc26af005e97b09804c5a98099">ktimer_loop_run</a>(<a class="code" href="a00025.html">ktimer_loop_t</a>* ktimer_loop);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="a00122_ga9d51f5fa5d9609d783eb4b0e05101079.html#ga9d51f5fa5d9609d783eb4b0e05101079">ktimer_loop_exit</a>(<a class="code" href="a00025.html">ktimer_loop_t</a>* ktimer_loop);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keyword">extern</span> <a class="code" href="a00026.html">ktimer_t</a>* <a class="code" href="a00122_ga37901569361ae2a726a1973d7da2d6e5.html#ga37901569361ae2a726a1973d7da2d6e5">ktimer_create</a>(<a class="code" href="a00025.html">ktimer_loop_t</a>* ktimer_loop);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00122_ga1465f5ddec41fa81c429d1647dc5e7a9.html#ga1465f5ddec41fa81c429d1647dc5e7a9">ktimer_stop</a>(<a class="code" href="a00026.html">ktimer_t</a>* timer);</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="keyword">extern</span> <a class="code" href="a00025.html">ktimer_loop_t</a>* <a class="code" href="a00122_gad2c8d1024db56a0bef97ea47fb07a920.html#gad2c8d1024db56a0bef97ea47fb07a920">ktimer_get_loop</a>(<a class="code" href="a00026.html">ktimer_t</a>* timer);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00122_ga8c5900fb62a63dc71cc9f38ac6427ad1.html#ga8c5900fb62a63dc71cc9f38ac6427ad1">ktimer_start</a>(<a class="code" href="a00026.html">ktimer_t</a>* timer, <a class="code" href="a00056_a2333fd0f2c3a85faf586300ca40deed4.html#a2333fd0f2c3a85faf586300ca40deed4">ktimer_cb_t</a> cb, <span class="keywordtype">void</span>* data, time_t ms);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00122_ga9c37409260a72e3218ae4fcaf44d79bc.html#ga9c37409260a72e3218ae4fcaf44d79bc">ktimer_start_once</a>(<a class="code" href="a00026.html">ktimer_t</a>* timer, <a class="code" href="a00056_a2333fd0f2c3a85faf586300ca40deed4.html#a2333fd0f2c3a85faf586300ca40deed4">ktimer_cb_t</a> cb, <span class="keywordtype">void</span>* data, time_t ms);</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00122_ga285936846760d9f325e588d2e2105fe5.html#ga285936846760d9f325e588d2e2105fe5">ktimer_start_times</a>(<a class="code" href="a00026.html">ktimer_t</a>* timer, <a class="code" href="a00056_a2333fd0f2c3a85faf586300ca40deed4.html#a2333fd0f2c3a85faf586300ca40deed4">ktimer_cb_t</a> cb, <span class="keywordtype">void</span>* data, time_t ms, <span class="keywordtype">int</span> times);</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="a00122_ga9387b99ff760183fe8b61c8c46d6efc8.html#ga9387b99ff760183fe8b61c8c46d6efc8">ktimer_check_dead</a>(<a class="code" href="a00026.html">ktimer_t</a>* timer);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="keyword">extern</span> time_t <a class="code" href="a00122_ga71282c2dc8bac0935617b1271f4066e6.html#ga71282c2dc8bac0935617b1271f4066e6">ktimer_loop_get_tick_intval</a>(<a class="code" href="a00025.html">ktimer_loop_t</a>* ktimer_loop);</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* TIMER_API_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="a00122_gaf195cf4006bced494e99242c36ad36c0_html_gaf195cf4006bced494e99242c36ad36c0"><div class="ttname"><a href="a00122_gaf195cf4006bced494e99242c36ad36c0.html#gaf195cf4006bced494e99242c36ad36c0">ktimer_loop_run_once</a></div><div class="ttdeci">int ktimer_loop_run_once(ktimer_loop_t *ktimer_loop)</div><div class="ttdoc">检查定时器超时，如果超时调用定时器回调 </div><div class="ttdef"><b>Definition:</b> timer.c:153</div></div>
<div class="ttc" id="a00056_html"><div class="ttname"><a href="a00056.html">config.h</a></div></div>
<div class="ttc" id="a00056_a2333fd0f2c3a85faf586300ca40deed4_html_a2333fd0f2c3a85faf586300ca40deed4"><div class="ttname"><a href="a00056_a2333fd0f2c3a85faf586300ca40deed4.html#a2333fd0f2c3a85faf586300ca40deed4">ktimer_cb_t</a></div><div class="ttdeci">void(* ktimer_cb_t)(ktimer_t *, void *)</div><div class="ttdef"><b>Definition:</b> config.h:299</div></div>
<div class="ttc" id="a00122_gaef96e7c368db456236a2121e3d75c49c_html_gaef96e7c368db456236a2121e3d75c49c"><div class="ttname"><a href="a00122_gaef96e7c368db456236a2121e3d75c49c.html#gaef96e7c368db456236a2121e3d75c49c">ktimer_loop_create</a></div><div class="ttdeci">ktimer_loop_t * ktimer_loop_create(time_t freq, int slot)</div><div class="ttdoc">创建定时器循环 </div><div class="ttdef"><b>Definition:</b> timer.c:60</div></div>
<div class="ttc" id="a00026_html"><div class="ttname"><a href="a00026.html">_ktimer_t</a></div><div class="ttdef"><b>Definition:</b> timer.c:30</div></div>
<div class="ttc" id="a00122_gad2c8d1024db56a0bef97ea47fb07a920_html_gad2c8d1024db56a0bef97ea47fb07a920"><div class="ttname"><a href="a00122_gad2c8d1024db56a0bef97ea47fb07a920.html#gad2c8d1024db56a0bef97ea47fb07a920">ktimer_get_loop</a></div><div class="ttdeci">ktimer_loop_t * ktimer_get_loop(ktimer_t *timer)</div><div class="ttdoc">取得ktimer_loop_t实例 </div><div class="ttdef"><b>Definition:</b> timer.c:191</div></div>
<div class="ttc" id="a00122_ga5e31b2fc26af005e97b09804c5a98099_html_ga5e31b2fc26af005e97b09804c5a98099"><div class="ttname"><a href="a00122_ga5e31b2fc26af005e97b09804c5a98099.html#ga5e31b2fc26af005e97b09804c5a98099">ktimer_loop_run</a></div><div class="ttdeci">void ktimer_loop_run(ktimer_loop_t *ktimer_loop)</div><div class="ttdoc">循环检查定时器超时，调用ktimer_loop_exit()退出 </div><div class="ttdef"><b>Definition:</b> timer.c:99</div></div>
<div class="ttc" id="a00122_ga37901569361ae2a726a1973d7da2d6e5_html_ga37901569361ae2a726a1973d7da2d6e5"><div class="ttname"><a href="a00122_ga37901569361ae2a726a1973d7da2d6e5.html#ga37901569361ae2a726a1973d7da2d6e5">ktimer_create</a></div><div class="ttdeci">ktimer_t * ktimer_create(ktimer_loop_t *ktimer_loop)</div><div class="ttdoc">创建一个定时器 </div><div class="ttdef"><b>Definition:</b> timer.c:216</div></div>
<div class="ttc" id="a00122_ga9387b99ff760183fe8b61c8c46d6efc8_html_ga9387b99ff760183fe8b61c8c46d6efc8"><div class="ttname"><a href="a00122_ga9387b99ff760183fe8b61c8c46d6efc8.html#ga9387b99ff760183fe8b61c8c46d6efc8">ktimer_check_dead</a></div><div class="ttdeci">int ktimer_check_dead(ktimer_t *timer)</div><div class="ttdoc">检查定时器是否在回调函数返回即将被销毁 </div><div class="ttdef"><b>Definition:</b> timer.c:234</div></div>
<div class="ttc" id="a00122_ga9c37409260a72e3218ae4fcaf44d79bc_html_ga9c37409260a72e3218ae4fcaf44d79bc"><div class="ttname"><a href="a00122_ga9c37409260a72e3218ae4fcaf44d79bc.html#ga9c37409260a72e3218ae4fcaf44d79bc">ktimer_start_once</a></div><div class="ttdeci">int ktimer_start_once(ktimer_t *timer, ktimer_cb_t cb, void *data, time_t ms)</div><div class="ttdoc">启动一个只超时一次的定时器，超时后将自动销毁 </div><div class="ttdef"><b>Definition:</b> timer.c:319</div></div>
<div class="ttc" id="a00025_html"><div class="ttname"><a href="a00025.html">_ktimer_loop_t</a></div><div class="ttdef"><b>Definition:</b> timer.c:44</div></div>
<div class="ttc" id="a00122_ga8c5900fb62a63dc71cc9f38ac6427ad1_html_ga8c5900fb62a63dc71cc9f38ac6427ad1"><div class="ttname"><a href="a00122_ga8c5900fb62a63dc71cc9f38ac6427ad1.html#ga8c5900fb62a63dc71cc9f38ac6427ad1">ktimer_start</a></div><div class="ttdeci">int ktimer_start(ktimer_t *timer, ktimer_cb_t cb, void *data, time_t ms)</div><div class="ttdoc">启动一个无限次数的定时器 </div><div class="ttdef"><b>Definition:</b> timer.c:302</div></div>
<div class="ttc" id="a00122_ga285936846760d9f325e588d2e2105fe5_html_ga285936846760d9f325e588d2e2105fe5"><div class="ttname"><a href="a00122_ga285936846760d9f325e588d2e2105fe5.html#ga285936846760d9f325e588d2e2105fe5">ktimer_start_times</a></div><div class="ttdeci">int ktimer_start_times(ktimer_t *timer, ktimer_cb_t cb, void *data, time_t ms, int times)</div><div class="ttdoc">启动一个有限次数的定时器，达到times次数后将自动销毁 </div><div class="ttdef"><b>Definition:</b> timer.c:336</div></div>
<div class="ttc" id="a00122_ga1465f5ddec41fa81c429d1647dc5e7a9_html_ga1465f5ddec41fa81c429d1647dc5e7a9"><div class="ttname"><a href="a00122_ga1465f5ddec41fa81c429d1647dc5e7a9.html#ga1465f5ddec41fa81c429d1647dc5e7a9">ktimer_stop</a></div><div class="ttdeci">int ktimer_stop(ktimer_t *timer)</div><div class="ttdoc">停止并销毁定时器 </div><div class="ttdef"><b>Definition:</b> timer.c:296</div></div>
<div class="ttc" id="a00122_ga9d51f5fa5d9609d783eb4b0e05101079_html_ga9d51f5fa5d9609d783eb4b0e05101079"><div class="ttname"><a href="a00122_ga9d51f5fa5d9609d783eb4b0e05101079.html#ga9d51f5fa5d9609d783eb4b0e05101079">ktimer_loop_exit</a></div><div class="ttdeci">void ktimer_loop_exit(ktimer_loop_t *ktimer_loop)</div><div class="ttdoc">退出ktimer_loop_run() </div><div class="ttdef"><b>Definition:</b> timer.c:108</div></div>
<div class="ttc" id="a00122_gad3dafe93f5b45424bd5983ef0c163687_html_gad3dafe93f5b45424bd5983ef0c163687"><div class="ttname"><a href="a00122_gad3dafe93f5b45424bd5983ef0c163687.html#gad3dafe93f5b45424bd5983ef0c163687">ktimer_loop_destroy</a></div><div class="ttdeci">void ktimer_loop_destroy(ktimer_loop_t *ktimer_loop)</div><div class="ttdoc">销毁定时器循环 </div><div class="ttdef"><b>Definition:</b> timer.c:81</div></div>
<div class="ttc" id="a00122_ga71282c2dc8bac0935617b1271f4066e6_html_ga71282c2dc8bac0935617b1271f4066e6"><div class="ttname"><a href="a00122_ga71282c2dc8bac0935617b1271f4066e6.html#ga71282c2dc8bac0935617b1271f4066e6">ktimer_loop_get_tick_intval</a></div><div class="ttdeci">time_t ktimer_loop_get_tick_intval(ktimer_loop_t *ktimer_loop)</div><div class="ttdoc">取得滴答间隔 </div><div class="ttdef"><b>Definition:</b> timer.c:245</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2015年 七月 27日 星期一 14:33:19 , 为 knet使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
